<?

	/* Theme functions, these are called from the main theme or the blog system */
	
	
	function drawProfile() {
		global $blogname,$profileimg;
		
		echo "\r\n";
		echo "\t<div id='profile'>\r\n";
		echo "\t\t<h1><a href='?'>".$blogname."</a></h1>";
		echo "\r\n";
		echo "\t</div>";
		echo "<div style='clear:both;'> </div>";
	}


	function theme_drawTweet(
			$itemAction,
			$itemCaption,
			$itemPost,
			$itemLink,
			$itemCommentLink,
			$itemDate,
			$itemServiceName,
			$itemTrueDate)
	{
							
						$tweet="<div id='tweet'>";
							
						//$tweet.="<h1>".$itemDate."</h1>";
						$tweet.="<h1>".$itemAction."</h1>";

						$tweet.="<h3>".$itemDate." | <strong>".$itemCommentLink."</strong></h3>";
						
						if ($itemCaption) $tweet.="<p>".$itemCaption." ";
						if ($itemLink) $tweet.="<a href='".$itemLink."'>&#187;</a>";
						$tweet.="</p>";
						$tweet.=$itemPost;
						
						$tweet.="</div>";
						$tweet.="<div style='clear:both;'> </div>";
						return $tweet;
	}



?>
